php array_push in foreach duplicate

31

foreach($something as $value){
    if(!in_array($value, $liste, true)){
        array_push($liste, $value);
    }
}

Comments

Submit
0 Comments